import {ref} from "vue"
import {usesocket} from "@/utils/usesocket"
var dialogVisible = ref(false)
var userid = ref(0)
var socket
var zzyid
const colclick = (id,type,name) =>{
    if(type !== 0 ) {
     socket = usesocket(id)
     console.log('来到了这');
    }
    zzyid =id
    console.log(type,'type');
    userid.value =name
    dialogVisible.value  =!dialogVisible.value
}

export {dialogVisible ,colclick,userid,socket ,zzyid} 